package com.blog.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.blog.common.annotation.Excel;
import com.blog.common.core.domain.BaseEntity;

/**
 * 自习室对象 study_room
 * 
 * @author ruoyi
 * @date 2025-03-13
 */
@Data
public class StudyRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自习室表 */
    private String roomId;

    /** 关联类型表 */
    @Excel(name = "关联类型表")
    private String typeId;

    /** 自习室名称 */
    @Excel(name = "自习室名称")
    private String roomName;

    /** 位置描述 */
    @Excel(name = "位置描述")
    private String location;

    /** 开放时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开放时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    /** 关闭时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "关闭时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date closeTime;

    /** 当前状态 1已使用 0 未使用 2 已关闭 */
    @Excel(name = "当前状态 1已使用 0 未使用 2 已关闭")
    private Long currentStatus;

    public void setRoomId(String roomId) 
    {
        this.roomId = roomId;
    }

    public String getRoomId() 
    {
        return roomId;
    }

    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }

    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setOpenTime(Date openTime) 
    {
        this.openTime = openTime;
    }

    public Date getOpenTime() 
    {
        return openTime;
    }

    public void setCloseTime(Date closeTime) 
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() 
    {
        return closeTime;
    }

    public void setCurrentStatus(Long currentStatus) 
    {
        this.currentStatus = currentStatus;
    }

    public Long getCurrentStatus() 
    {
        return currentStatus;
    }


}
